<script>
	import Vue from 'vue'
	export default {
		onLaunch: function() {
            wx.cloud.init({
                traceUser: true,
                env: 'beta-krb83'
            })
			uni.getSystemInfo({
				success: function(e) {
					Vue.prototype.StatusBar = e.statusBarHeight;
					let rect = wx.getMenuButtonBoundingClientRect();
                    const gap = rect.top - e.statusBarHeight;
                    Vue.prototype.CustomBar = 2 * gap + rect.height;
				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}

	}
</script>

<style>
	@import "components/colorui/main.css";
	@import "components/colorui/icon.css";
</style>
